package com.scenic.rd_android.testview.animation;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;

import com.scenic.rd_android.R;

/**
 * @see SearchView
 */
public class SearchViewActivity extends AppCompatActivity {
    SearchView searchView;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_search_view);

         searchView = (SearchView) findViewById(R.id.search_view);

//         searchView.startAnimation();
    }

    public void start(View view) {
        searchView.start();
    }

    public void stop(View view) {
        searchView.stop();
    }
}
